package easybooking.data;

import java.rmi.RemoteException;

/**
 * Exemplary Interface of an airport.
 *
 * @author Hakan Keles
 *
 */
// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.C1171091-0502-D153-6D15-CC818DBD31ED]
// </editor-fold> 
public interface Airport extends java.rmi.Remote {

    /**
     * Read-out the ID of the airport.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.97C50966-E526-BC0C-EDB7-109524797BAB]
    // </editor-fold> 
    public int getAirportId() throws RemoteException;

    /**
     * Read-out the name of the airport.
     * @return name
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.4292296F-B7A1-1F0D-4F56-863C94F8CA57]
    // </editor-fold> 
    public String getName() throws RemoteException;

    /**
     * Read-out the initials of the airport.
     * @return initials
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.432C6259-6A4A-6409-96EA-931AEB8D6E2F]
    // </editor-fold> 
    public String getInitials() throws RemoteException;

    /**
     * Read-out the city of the airport.
     * @return city
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.2046E33F-7A71-15F8-1FAB-73A36A2BCDBD]
    // </editor-fold> 
    public String getCity() throws RemoteException;

    /**
     * Read-out the status of the airport.
     * @return status
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.2BA5251B-D85D-BEF6-5C97-1364BF06A915]
    // </editor-fold> 
    public boolean getIsActive() throws RemoteException;

    /**
     * Set the ID of the airport.
     * @param airportId the id of the airport
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.6775A481-F335-FB3E-13EF-9CB51E5E1F5E]
    // </editor-fold> 
    public void setAirportId(int airportId) throws RemoteException;

    /**
     * Set the name of the airport.
     * @param name The name of the airport.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.A235921D-5C03-ED27-C50A-5A8386E560A4]
    // </editor-fold> 
    public void setName(String name) throws RemoteException;

    /**
     * Set the initials of the airport.
     * @param initials The initials of the airport.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.4B74AFF3-2659-A15B-A3DC-9281F5667C62]
    // </editor-fold> 
    public void setInitials(String initials) throws RemoteException;

    /**
     * Set the city of the airport.
     * @param city The city of the airport.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.575F505F-6B5C-DB45-0217-9F63E615A6E9]
    // </editor-fold> 
    public void setCity(String city) throws RemoteException;

    /**
     * Set the status of the airport.
     * @param status The status of the airport.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.5A08836B-ADD0-1838-C40E-0EEC903D9E57]
    // </editor-fold> 
    public void setIsActive(boolean status) throws RemoteException;
}

